﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="M.AppMng.Service.Client.MyAppClient" />
<meta name="generator" content="DocsBuilder" />
<title>MyAppClient</title>
<link rel="stylesheet" type="text/css" href="../../../../styles/stylesheet.css" />
<script type="text/javascript" src="../../../../scripts/accordion.js"></script>
</head>
<body>
<h1><a href="namespace-summary.html">M.AppMng.Service.Client</a><br />
  MyAppClient 对象
</h1>
<pre>System.Object
  +-<b>M.AppMng.Service.Client.MyAppClient</b>
</pre>
<div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class</span> <span class="type">MyAppClient</span></pre></div>
<div></div><h4>方法摘要</h4>
  <table cellspacing="0" cellpadding="3" border="1">
    <tr>
      <th>签名</th>
      <th>说明</th>
    </tr>
      <tr id="AccumulateMyAppUpTimes(Guid)">
        <td>
          <a href="#AccumulateMyAppUpTimes(Guid)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>AccumulateMyAppUpTimes(Guid)</code></a><code>(<span class="type">Guid</span> appID)</code>
        </td>
        <td>
          
累加指定的明源App的赞次数（累加+1）

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>AccumulateMyAppUpTimes(Guid) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> AccumulateMyAppUpTimes(<span class="type">Guid</span> appID)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appID</strong> (System.Guid) - 明源AppID</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若传入AppID为Guid.Empty，则会引发一个参数异常<br />若指定的应用不存在，则会引发一个参数异常
</dd>
                <dd>System.Exception - 若无操作权限，则会引发一个没有操作权限的异常</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetAppList">
        <td>
          <a href="#GetAppList" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetAppList</code></a><code>()</code>
        </td>
        <td>
          
获取所有公开的明源App对象列表

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetAppList 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="type">List</span>&lt;<a href="../../Service/MyApp.html" class="type">MyApp</a>&gt; GetAppList()</pre></div>
          <dl>
              <dt><b>返回：</b></dt>
              <dd>System.Collections.Generic.List&lt;<a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a>&gt; - 一个包含明源App对象的集合</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetMyAppDetail(Guid)">
        <td>
          <a href="#GetMyAppDetail(Guid)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetMyAppDetail(Guid)</code></a><code>(<span class="type">Guid</span> appID)</code>
        </td>
        <td>
          
获取指定的明源App详情

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetMyAppDetail(Guid) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <a href="../../Service/MyApp.html" class="type">MyApp</a> GetMyAppDetail(<span class="type">Guid</span> appID)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appID</strong> (System.Guid) - 明源AppID</dd>
              <dt><b>返回：</b></dt>
              <dd><a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a> - 一个明源App对象实例</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若传入AppID为Guid.Empty，则会引发一个参数异常<br />若指定的应用不存在，会引发一个参数异常
</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetMyAppDetail(Guid, Boolean)">
        <td>
          <a href="#GetMyAppDetail(Guid, Boolean)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetMyAppDetail(Guid, Boolean)</code></a><code>(<span class="type">Guid</span> appID, <span class="keyword">bool</span> includeNoPublicApp)</code>
        </td>
        <td>
          
获取指定的明源App详情

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetMyAppDetail(Guid, Boolean) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <a href="../../Service/MyApp.html" class="type">MyApp</a> GetMyAppDetail(<span class="type">Guid</span> appID, <span class="keyword">bool</span> includeNoPublicApp)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appID</strong> (System.Guid) - 明源AppID</dd>
                <dd><strong>includeNoPublicApp</strong> (System.Boolean) - True：包含非公开的App（即所有App），False：仅包含公开App</dd>
              <dt><b>返回：</b></dt>
              <dd><a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a> - 一个明源App对象实例</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若传入AppID为Guid.Empty，则会引发一个参数异常<br />若指定的应用不存在，则会引发一个参数异常
</dd>
                <dd>System.Exception - 查询非公开项目时，若无操作权限，则会引发一个没有操作权限的异常</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetMyAppDetail(String)">
        <td>
          <a href="#GetMyAppDetail(String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetMyAppDetail(String)</code></a><code>(<span class="keyword">string</span> appShortName)</code>
        </td>
        <td>
          
获取指定的明源App详情

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetMyAppDetail(String) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <a href="../../Service/MyApp.html" class="type">MyApp</a> GetMyAppDetail(<span class="keyword">string</span> appShortName)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appShortName</strong> (System.String) - 明源App名称简写</dd>
              <dt><b>返回：</b></dt>
              <dd><a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a> - 一个明源App对象实例</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若指定的应用不存在，会引发一个参数异常
</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetMyAppDetail(String, Boolean)">
        <td>
          <a href="#GetMyAppDetail(String, Boolean)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetMyAppDetail(String, Boolean)</code></a><code>(<span class="keyword">string</span> appShortName, <span class="keyword">bool</span> includeNoPublicApp)</code>
        </td>
        <td>
          
获取指定的明源App详情

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetMyAppDetail(String, Boolean) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <a href="../../Service/MyApp.html" class="type">MyApp</a> GetMyAppDetail(<span class="keyword">string</span> appShortName, <span class="keyword">bool</span> includeNoPublicApp)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appShortName</strong> (System.String) - 明源App名称简写</dd>
                <dd><strong>includeNoPublicApp</strong> (System.Boolean) - True：包含非公开的App（即所有App），False：仅包含公开App</dd>
              <dt><b>返回：</b></dt>
              <dd><a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a> - 一个明源App对象实例</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若指定的应用不存在，则会引发一个参数异常
</dd>
                <dd>System.Exception - 查询非公开项目时，若无操作权限，则会引发一个没有操作权限的异常</dd>
          </dl>
        </td>
      </tr>
      <tr id="GetMyAppList(Boolean)">
        <td>
          <a href="#GetMyAppList(Boolean)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>GetMyAppList(Boolean)</code></a><code>(<span class="keyword">bool</span> includeNoPublicApp)</code>
        </td>
        <td>
          
获取明源App对象列表

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>GetMyAppList(Boolean) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="type">List</span>&lt;<a href="../../Service/MyApp.html" class="type">MyApp</a>&gt; GetMyAppList(<span class="keyword">bool</span> includeNoPublicApp)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>includeNoPublicApp</strong> (System.Boolean) - True：包含非公开的App（即所有App），False：仅包含公开App</dd>
              <dt><b>返回：</b></dt>
              <dd>System.Collections.Generic.List&lt;<a href="../../Service/MyApp.html">M.AppMng.Service.MyApp</a>&gt; - 一个包含明源App对象的集合</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.Exception - 查询非公开项目时，若无操作权限，则会引发一个没有操作权限的异常</dd>
          </dl>
        </td>
      </tr>
      <tr id="UpdateMyAppDescription(Guid, String, String)">
        <td>
          <a href="#UpdateMyAppDescription(Guid, String, String)" onclick="ExpandCollapse(this.parentNode.parentNode.nextSibling);return false;"><code>UpdateMyAppDescription(Guid, String, String)</code></a><code>(<span class="type">Guid</span> appID, <span class="keyword">string</span> summery, <span class="keyword">string</span> description)</code>
        </td>
        <td>
          
更新明源App简介及描述

        </td>
      </tr>
      <tr style="display:none;" ondblclick="if(GetSelection()=='')ExpandCollapse(this);">
        <td colspan="2">
          <h3>UpdateMyAppDescription(Guid, String, String) 方法</h3>
          <div><pre class="code"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">void</span> UpdateMyAppDescription(<span class="type">Guid</span> appID, <span class="keyword">string</span> summery, <span class="keyword">string</span> description)</pre></div>
          <dl>
              <dt><b>参数：</b></dt>
                <dd><strong>appID</strong> (System.Guid) - 明源AppID</dd>
                <dd><strong>summery</strong> (System.String) - 明源App简介：简短几句描述App的主要作用</dd>
                <dd><strong>description</strong> (System.String) - 明源App描述正文：大篇幅正文对App作用、特性及操作进行描述</dd>
              <dt><b>抛出：</b></dt>
                <dd>System.ArgumentException - 
若传入AppID为Guid.Empty，则会引发一个参数异常<br />若指定的应用不存在，则会引发一个参数异常<br />若传入的summery为空，则会引发一个参数异常<br />若传入的description为空，则会引发一个参数异常
</dd>
                <dd>System.Exception - 若无操作权限，则会引发一个没有操作权限的异常</dd>
          </dl>
        </td>
      </tr>
  </table>
<hr />
<div class="DocsBuilder">Generated by <span>DocsBuilder</span>2</div>
</body>
</html>
